package com.ypy.context.dao.impl;

import com.ypy.context.annotation.Component;
import com.ypy.context.dao.UserDao;
import com.ypy.context.entity.User;

@Component("userDao")
public class UserDaoImpl implements UserDao {
	@Override
	public void addUser(User user) {
		System.out.println();
		System.out.println("------------------>>>执行UserDaoImpl中的addUser方法开始<<<<------------------");
		System.out.println("\t\t\t\t\t\t名字\t\t\t\t年龄");
		System.out.println("\t\t\t\t\t\t"+user.getName()+"\t\t\t\t"+user.getAge());
		System.out.println("------------------>>>执行UserDaoImpl中的addUser方法完毕<<<<------------------");

	}
}
